

package arffreader;


public class MathTool {
    public static double euclidea(double[] a, double[] b){
        double temp = 0;
        for (int i = 0; i < a.length; i++) {
            temp += (a[i] - b[i]) * (a[i] - b[i]);
        }
        return java.lang.Math.sqrt(temp);
    }
}
